#include "StdAfx.h"
#include "GameBase.h"
#include "Thing.h"

Thing::Thing()
{
}

Thing::~Thing()
{
}

void Thing::Init()
{
}

void Thing::Draw()
{
	GameBase::pSprite->Draw(Texture, &Source, 0, 0, 0x00ffffff);
}
	
void Thing::Update()
{
}

void Thing::Reset()
{
}

void Thing::SetTexture(LPDIRECT3DTEXTURE9 nTex)
{
	Texture = nTex;
}

void Thing::SetPos(D3DXVECTOR2 nPos)
{
	this_pos = nPos;
}

void Thing::Setrect(RECT nRect)
{
	Source = nRect;
}